package cn.xxd.entity;

import java.io.Serializable;
import java.util.Date;

public class HomeContent implements Serializable {

    private long id;
    private long categoryId;
    private String title;
    private String title_desc;
    private String url;
    private String pic;
    private String content;
    private Date created;
    private Date update;
    private String del;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle_desc() {
        return title_desc;
    }

    public void setTitle_desc(String title_desc) {
        this.title_desc = title_desc;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdate() {
        return update;
    }

    public void setUpdate(Date update) {
        this.update = update;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }


    @Override
    public String toString() {
        return "HomeContent{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", title='" + title + '\'' +
                ", title_desc='" + title_desc + '\'' +
                ", url='" + url + '\'' +
                ", pic='" + pic + '\'' +
                ", content='" + content + '\'' +
                ", created=" + created +
                ", update=" + update +
                ", del='" + del + '\'' +
                '}';
    }
}
